﻿CREATE TABLE [dbo].[Editor]
(
	EditorKey INT NOT NULL IDENTITY(1,1) CONSTRAINT PK_Editor PRIMARY KEY,
	UserName nVarChar(50) NOT NULL CONSTRAINT IX_Editor_UserName UNIQUE,
	FirstName nVarChar(50) NULL,
	LastName nVarChar(50) NULL,
	EmailAddress nVarChar(254) NOT NULL CONSTRAINT IX_Editor_EmailAddress UNIQUE,
	PasswordSalt varChar(max) NOT NULL,
	PasswordHash varChar(max) NOT NULL,
	IsEnabled bit NOT NULL CONSTRAINT D_Editor Default(0)

)
